package main

import (
	"encoding/base64"
	"fmt"

	"github.com/pion/stun"
)

func main() {
	src := "AQEALCESpELEnKcBxWfow9Use0wAIAAIAAHneBq/ERCAIgAUQ290dXJuLTQuNi4yICdHb3JzdCeAKAAE54/hsQ=="

	data, err := base64.StdEncoding.DecodeString(src)
	if err != nil {
		panic(err)
	}

	m := new(stun.Message)
	m.Raw = data
	if err = m.Decode(); err != nil {
		panic(err)
	}
	fmt.Println(m)
}

// Binding request l=28 attrs=1 id=TC9CU0FrMlV5MHJh, attr0=0x802f
